<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Dessert House - 经理</title>
<link href="/ChristineCake/css/Management_List_NoButton.css"
	rel="stylesheet" type="text/css" />
</head>

<body>

	<div id="header">
		<div id="logo">
			<img src="/ChristineCake/image/logo.png" alt="logo" width="100%"
				height="100%" />
		</div>
		<div id="logout" align="right">
			<a href="/ChristineCake/jsp/LogIn.jsp">登出</a>
		</div>
	</div>

	<div id="menu">
		<ul>
			<li><a href="/ChristineCake/MemberCardStatisticsServlet">用户信息统计</a></li>
			<li><a href="/ChristineCake/TotalSaleStatisticsServlet">销售信息统计</a></li>
			<li><a href="/ChristineCake/MonthSaleStatisticsServlet">销售趋势预测</a>
		</ul>
	</div>

	<div id="panel">
		<div id="list">
			<ul>
				<li id="listhead">销售信息统计</li>
				<li><a href="/ChristineCake/TotalSaleStatisticsServlet">总体销售情况</a></li>
				<li><a href="/ChristineCake/ShopSaleStatisticsServlet">店面销售情况</a></li>
				<li><a href="/ChristineCake/HotGoodsStatisticsServlet">热卖商品</a></li>
			</ul>
		</div>

		<div id="content">
			<jsp:useBean id="hotGoods" type="bean.HotGoodsBean" scope="request" />

			<%
			for (int i = 0; i < hotGoods.getHotGoods().size(); i++) {
				out.println("<div class=\"goods\">");
				out.println("<img src=\"/ChristineCake/image/"
						+ hotGoods.getGoods(i).getId()
						+ ".jpg\" width=\"100%\" height=\"200px\" />");
				out.println("第" + (i+1) + "名\t" + hotGoods.getGoods(i).getName() + "<br />");
				out.println("</div>");
			}
		%>
		</div>
	</div>

	<hr />

	<div id="footer">
		<p>©南京大学软件学院 李冰洁</p>
	</div>

</body>

</html>